package system

import (
	"github.com/gin-gonic/gin"
	v1 "jgyApi/server/api/v1"
)

type AppRouter struct {}

func (a *AppRouter) InitAppRouter(Router *gin.RouterGroup) {
	//appRouter := Router.Group("")
	clientRouter := Router.Group("Silent")
	labelRouter := Router.Group("Label")
	smallRankRouter := Router.Group("rank")
	rankRouter := Router.Group("Rank")
	appGroundRouter := Router.Group("Appground")
	appApi :=  v1.ApiGroupApp.SystemApiGroup.AppApi
	{
		clientRouter.POST("silent", appApi.Silent)
	}
	
	{
		labelRouter.POST("", appApi.LabelIndex)
	}
	{
		smallRankRouter.POST("index", appApi.RankIndex)
		rankRouter.POST("commonApp", appApi.CommonApp)
	}
	{
		appGroundRouter.POST("", appApi.AppGroundIndex)
	}




}


